package cn.walnut.exception;

/**
 * @program: walnut-security
 * @Date: 2018/12/19 13:13
 * @Author: Walnut1992
 * @Description:
 */
public class UserNotExistException extends RuntimeException {

    private static final long serialVersionUID = 1L;
    private String id;

    public UserNotExistException() {
    }

    public UserNotExistException(String id) {
        super("用户不存在");
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
